home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / manage / snmp / mit / doc / snmptrapd.tex < prev    next >
Encoding:
Text File  |  1991-05-17  |  1.2 KB  |  39 lines

  1. %
  2. %    $Header: snmptrapd.tex,v 3.0 91/05/17 16:16:15 jrd Rel $
  3. %    Author: J. Davin
  4. %    Copyright 1988, 1989, Massachusetts Institute of Technology
  5. %
  6.  
  7. \newpage
  8. \subsection{The Snmptrapd Command}
  9.  
  10. The snmptrapd command listens for SNMP trap messages
  11. arriving from the network and displays them as they
  12. arrive.
  13. It is coded to run in a BSD 4.3 UNIX environment.
  14.  
  15. The code for the snmptrapd command illustrates the use of the
  16. Development Kit to accelerate development
  17. of network management applications as well as the
  18. use of the SNMP protocol {\it trap} operation.
  19.  
  20. Sources for the snmptrapd command reside in the
  21. \verb"snmptrapd" subdirectory of the Development Kit
  22. distribution hierarchy.
  23.  
  24. It is invoked with the syntax:
  25.  
  26. {\bf snmptrapd} [{\bf -p} {\it remotePort}] [{\bf -c} {\it communityName}]
  27.  
  28. If the {\bf -p} flag is present, then the program
  29. will listen for trap messages
  30. at the UDP port specified as {\it remotePort,}
  31. instead of that assigned to the ``snmp-trap'' service
  32. in the \verb"/etc/services" database.
  33.  
  34. If the {\bf -c} flag is present, then the program
  35. will generate and accept trap messages
  36. associated with the community name specified as {\it communityName,}
  37. instead of using the community name ``public.''
  38.  
  39.